<template>
  <div class="home-cate">
    <div class="cate-box">
      <div class="banner"></div>
      <div class="cate-content">
        <div class="cate-item">
          <img src="../../static/img/cate01.png" alt="" />
          <p>美食外卖</p>
        </div>
        <div class="cate-item">
          <img src="../../static/img/cate02.png" alt="" />
          <p>美食外卖</p>
        </div>
        <div class="cate-item">
          <img src="../../static/img/cate03.png" alt="" />
          <p>美食外卖</p>
        </div>
        <div class="cate-item">
          <img src="../../static/img/cate04.png" alt="" />
          <p>美食外卖</p>
        </div>
      </div>
      <div class="cate-content">
        <div class="cate-item">
          <img src="../../static/img/cate05.png" alt="" />
          <p>美食外卖</p>
        </div>
        <div class="cate-item">
          <img src="../../static/img/cate06.png" alt="" />
          <p>美食外卖</p>
        </div>
        <div class="cate-item">
          <img src="../../static/img/cate07.png" alt="" />
          <p>美食外卖</p>
        </div>
        <div class="cate-item">
          <img src="../../static/img/cate08.png" alt="" />
          <p>美食外卖</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.home-cate {
  padding: 0 0.32rem;
  width: 100%;
  box-sizing: border-box;
  .cate-box {
    width: 100%;
    background-color: #fff;
    border-radius: 0.266667rem;
    padding: 0.266667rem;
    padding-bottom: 0.4rem;
    box-sizing: border-box;
    .banner {
      width: 8.8rem;
      height: 2.666667rem;
      background: url("../../static/img/banner.png") no-repeat center;
      background-size: contain;
    }
    .cate-content {
      width: 100%;
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      margin-top: 0.666667rem;
      .cate-item {
        width: 1.533333rem;
        height: 1.76rem;
        text-align: center;
        img {
          width: 1.2rem;
          height: 1.2rem;
        }
        p {
          color: #333;
          font-size: 0.373333rem;
        }
      }
    }
  }
}
</style>